﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/m.master" %>
<script runat="server"></script>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link href="../assets/css/shelf/base.css" rel="stylesheet">
<link href="../assets/css/enterpriseLayout/makePlan.css" rel="stylesheet" />
        <link href="../assets/css/plugins/bootstrap-datepicker/bootstrap-datepicker.min.css" rel="stylesheet" />
<style>
.condition .tableType{
	margin: 11px 0 0 20px;
	cursor: pointer;
}
.condition span{
	position: relative; 
	top: -2px;
	cursor: pointer;
}
.condition .form-control{
	height: 30px;
    padding: 0 12px;
}
.loadFoot {
    border-left: 1px solid #dfdfdd;
    border-bottom: 1px solid #dfdfdd;
    position: relative;
    z-index: 1;
}
.loadFoot td {
    border-top: 1px solid #dfdfdd;
    border-right: 1px solid #dfdfdd;
    text-align: center;
    background: #fff;
    font-weight: bold;
}
#table1, #table2, .conditionS{display: none;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" Runat="Server">
<div class="system-box">
	<div class="right-side">
		<div class="btns-container"></div>
		<div class="conditions">
			<div class="condition" style="padding-top: 5px;">
				<label>　　年月</label>
				<input type="text" class="form-control layer-date" id="search-start" readonly="readonly" placeholder="年月" />
				
				<label>维度</label>
				<input type="radio" name="tableType" class="tableType" />
				<span class="">唯一码</span>
				<input type="radio" name="tableType" class="tableType" />
				<span class="">店铺</span>
				
			</div>
			<div class="condition conditionS">
				<label>　　系列</label>
				<select class="form-control input-w160" id="serarch-series">
					<option value="">请选择</option>
				</select>
				<label>　商品层</label>
				<select class="form-control input-w160" id="serarch-layer">
					<option value="">请选择</option>
				</select>
				<label>　　品类</label>
				<select class="form-control input-w160" id="serarch-category">
					<option value="">请选择</option>
				</select>
				<label>　小品类</label>
                <select class="form-control input-w160" id="search-subCategory">
                    <option value="">请选择</option>
                </select>
			</div>
			<div class="condition conditionS">
				<label>商品区域</label>
				<select class="form-control input-w160" id="serarch-commodity">
					<option value="">请选择</option>
				</select>
				<label>　　省份</label>
				<select class="form-control input-w160" id="serarch-province">
					<option value="">请选择</option>
				</select>
				<label>　　城市</label>
				<select class="form-control input-w160" id="serarch-city">
					<option value="">请选择</option>
				</select>
				<label>　　店铺</label>
				<input type="text" class="form-control input-w160" placeholder="店铺代码或名称" id="search-store" />
			</div>
		</div>
		
		<div style="padding: 0 5px; background: #fff;">
			<div id="table1">
				<div style="overflow: auto; background: #fff;">
					<div class="tb-head-container" id="sthc1">
						<div class="ibox-content">
							<table class="loadTable">
								<thead></thead>
							</table>
						</div>
					</div>
					<div class="tb-body-container" id="stbc1">
						<div class="ibox-content">
							<table class="loadTable">
								<tbody class="loadList"></tbody>
							</table>
						</div>
					</div>
                    <div id="stfc1" style="height: 30px;">
					    <div class="ibox-content">
						    <table class="loadFoot">
							    <tbody class="loadList"></tbody>
						    </table>
					    </div>
				    </div>
				</div>
				<div id="stpc1">
					<div class="pageControl"></div>
				</div>
			</div>
			
			<div id="table2">
				<div style="overflow: auto; background: #fff;">
					<div class="tb-head-container" id="sthc2">
						<div class="ibox-content">
							<table class="loadTable">
								<thead></thead>
							</table>
						</div>
					</div>
					<div class="tb-body-container" id="stbc2">
						<div class="ibox-content">
							<table class="loadTable">
								<tbody class="loadList"></tbody>
							</table>
						</div>
					</div>
                    <div id="stfc2" style="height: 30px;">
					    <div class="ibox-content">
						    <table class="loadFoot">
							    <tbody class="loadList"></tbody>
						    </table>
					    </div>
				    </div>
				</div>
				<div id="stpc2">
					<div class="pageControl"></div>
				</div>
			</div>
		</div>
		
	</div>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="footer" Runat="Server">
<script src="../assets/js/plugins/webuploader/webuploader.min.js"></script>
<script src="../assets/js/framework.js"></script>
<script src="../assets/js/plugins/layer/laydate/laydate.js"></script>
<script src="../assets/js/page/pageControl.js"></script>
<script src="../assets/js/page/tableControl.js"></script>
        <script src="../assets/js/plugins/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script>
$(document).ready(function(){
	//初始化日期控件
    //var start = {
    //    elem: "#search-start",
    //    format: "YYYY-MM-DD",
    //    min: "2015-12-01",
    //    max: "2099-12-01",
    //    istime: false,
    //    istoday: true,
    //};
    //laydate(start);
    //自动收缩左边菜单栏
    commonUtil.autoLeftWidth();
    $('#search-start').datepicker({
        format: "yyyy-mm",
        startView: 1,
        minViewMode: 1,
        language: "zh-CN",
        autoclose: true
    });
	//获取浏览器类型
	var sUserAgent = navigator.userAgent.toLowerCase();
	//计算容器大小
    var calcContainer = function(){
		//计算表格高度
    	$('#stbc1').height(
			$('.right-side').height() - $('.conditions').outerHeight() - $('#sthc1').outerHeight() - $('#stfc1').outerHeight() - (sUserAgent.indexOf('chrome') > -1 ? 70 : 79));
		//计算表格宽度
		$('#stbc1').width($('#sthc1 .loadTable').width());
		
		//计算表格高度
		$('#stbc2').height(
			$('.right-side').height() - $('.conditions').outerHeight() - $('#sthc2').outerHeight() - $('#stfc2').outerHeight() - (sUserAgent.indexOf('chrome') > -1 ? 70 : 79));
		//计算表格宽度
		$('#stbc2').width($('#sthc2 .loadTable').width());
    }
    $(window).resize(function(){
		//重新计算容器高度
		calcContainer();
	})
	
	//模块ID
	var ModuleID = Y.getUrlParam("ModuleID");
	//获取按钮
	commonUtil.loadBtnList(ModuleID,function(){
		calcContainer();
	});
	//获取系列
	commonUtil.bindGetDropDownList(['#serarch-series'], 2);
	//获取商品层
	commonUtil.bindGetDropDownList(['#serarch-layer'], 3);
    //获取品类
    commonUtil.bindGetDropDownList(['#serarch-category'], 4);
    //获取小品类
    $(document).on("change", "#serarch-category", function () {
        $("#search-subCategory").html('<option value="">请选择</option>');
        if ($(this).val() == "")
            return;
        commonUtil.bindDropDownItem(['#search-subCategory'], $(this).val()); //小品类
    });
    //获取商品区域
    commonUtil.bindDwGlobalVariables2({dictValue: '商品区域'},['#serarch-commodity']);
    
    //绑定数据
	var provinceList = [];
	var loadAreaList = function(value,arr,el,el2){
		el.empty();
    	el.append('<option value="">请选择</option>');
    	el2.empty();
    	el2.append('<option value="">请选择</option>');
    	if(value == '')
    		return false;
    	Y.API2('OdsErpBasArea', 'GetOdsErpBasAreaList', {
    		Param:1,
    		DistrictID: value
    	}, function (data) {
            if (data.Success == false) {
                swal(data.Message, '', 'error');
            } else {
            	data.map(function(item){
	    			arr.push(item);
	    			el.append('<option value="'+ item[0].ParentID +'">'+ item[0].ParentName +'</option>');
	    		})
            }
        });
    }
    
    //选择商品区域
    $('#serarch-commodity').change(function(){
    	loadAreaList($(this).val(), provinceList, $('#serarch-province'), $('#serarch-city'));
    })
    
    //选择省份
    $('#serarch-province').change(function(){
    	$('#serarch-city').empty();
    	$('#serarch-city').append('<option value="">请选择</option>');
    	var $this = $(this);
    	provinceList.map(function(item){
    		if(item[0].ParentID == $this.val()){
    			item.map(function(city){
    				$('#serarch-city').append('<option value="'+ city.AreaID +'">'+ city.AreaName +'</option>');
    			});
    			$('#serarch-city').val('');
    			return false;
    		}
    	})
    });
    
    //初始化表头
	//唯一码
    tableControl.initThead('#sthc1 .loadTable',[{
		trClass: '', children: [
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">系列</span>', tdId: '', tdClass: 'diy-td-w120' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">商品层</span>', tdId: '', tdClass: 'diy-td-120' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">品类</span>', tdId: '', tdClass: 'diy-td-w120' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">小品类</span>', tdId: '', tdClass: 'diy-td-w120' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:250px;">唯一码</span>', tdId: '', tdClass: 'diy-td-w250' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">深度</span>', tdId: '', tdClass: 'diy-td-w120' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:150px;">是否流行色</span>', tdId: '', tdClass: 'diy-td-w150' },
		]
	}])
    //店铺
    tableControl.initThead('#sthc2 .loadTable',[{
		trClass: '', children: [
			{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:250px;">店铺</span>', tdId: '', tdClass: 'diy-td-w250' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">系列</span>', tdId: '', tdClass: 'diy-td-w120' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">商品层</span>', tdId: '', tdClass: 'diy-td-120' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">品类</span>', tdId: '', tdClass: 'diy-td-w120' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">小品类</span>', tdId: '', tdClass: 'diy-td-w120' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:250px;">唯一码</span>', tdId: '', tdClass: 'diy-td-w250' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">深度</span>', tdId: '', tdClass: 'diy-td-w120' },
        	{tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:150px;">是否流行色</span>', tdId: '', tdClass: 'diy-td-w150' },
		]
	}])
    
    //选择表格类型
    var tableType = -1;
    $('.condition .tableType').click(function(){
    	var tempIndex = $('.condition .tableType').index(this);
    	if(tableType == tempIndex)
    		return false;
    	tableType = tempIndex;
    	$('#table1, #table2').hide();
    	$('#table' + (tableType + 1)).show();
    	$('.conditionS').hide();
    	$('.conditionS').eq(tableType).show();
    	calcContainer();
    })
	$('.condition span').click(function(){
		$(this).prev().click();
	})
	$('.condition span:first').click();
	calcContainer();
    
    var year = 0;
    var month = 0;
    //加载表格1
    var page1 = 1;
    var loadList1 = function(){
    	pageControlBindEl.init('PLOnlyCode', 'GetPLOnlyCodeList', {
            CodeOrShop: tableType,
            Yearv: year,
            Monthv: month,
            SeriesID: $('#serarch-series').val(),
            MaterialProperty: $('#serarch-layer').val(),
            ModelID: $('#serarch-category').val(),
			ItemID: $('#search-subCategory').val(),
//			ParentAreaID: $('#serarch-commodity').val(),
//			ProID: $('#serarch-province').val(),
//			CityID: $('#serarch-city').val(),
//			Keys: $('#search-store').val(),
            Page: page1,
            Size: 100,
            BindEl: '#stpc1',
            needLayer: true,
            alwaysCallBack: function () {
                $('#stbc1 .loadList').empty();
                $('#stfc1 .loadList').empty();
            }
      	}, function (result) {
      		page1 = result.page;
      		var tBody = [];
      		if (!Y.checkNull(result.data)) {
      		    var sum = 0;
		        var count = 0;
      			var rdi = result.data.Items;
      			if (rdi.length > 0) {
      				rdi.map(function (item, i) {
                    	item.list.map(function(it,j){
                    		it.map(function(t,k){
                    			var tempChild = [];
	                    		if(k == 0){
	                    			tempChild = [
	                    				{tdText: '', c: 0, r: it.length, tdHtml: '<span style="display:inline-block; width:120px;">'+ (t.SeriesName || ' ') +'</span>', tdId: '', tdClass: 'diy-td-w120 border-bottom-bold' },
							        	{tdText: '', c: 0, r: it.length, tdHtml: '<span style="display:inline-block; width:120px;">'+ (t.MaterialProperty || ' ') +'</span>', tdId: '', tdClass: 'diy-td-120 border-bottom-bold' },
							        	{tdText: '', c: 0, r: it.length, tdHtml: '<span style="display:inline-block; width:120px;">'+ (t.ModelName || ' ') +'</span>', tdId: '', tdClass: 'diy-td-w120 border-bottom-bold' },
							        	{tdText: '', c: 0, r: it.length, tdHtml: '<span style="display:inline-block; width:120px;">'+ (t.ItemName || ' ') +'</span>', tdId: '', tdClass: 'diy-td-w120 border-bottom-bold' },
	                    			]
	                    		}
	                    		tempChild.push({tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:250px;">'+ (t.OnlyCode || ' ') +'</span>', tdId: '', tdClass: 'diy-td-w250' + (k == it.length - 1 ? ' border-bottom-bold' : '')});
	                    		tempChild.push({tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">'+ (t.DeepQty || ' ') +'</span>', tdId: '', tdClass: 'diy-td-w120' + (k == it.length - 1 ? ' border-bottom-bold' : '')});
					        	tempChild.push({tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:150px;">'+ (t.ChooseFlag == 1 ? 'Y' : ' ') +'</span>', tdId: '', tdClass: 'diy-td-w150' + (k == it.length - 1 ? ' border-bottom-bold' : '')});
					        	sum += t.DeepQty;
		                        count += (t.ChooseFlag == 1 ? 1 : 0);
					        	var tempTr = {
		                            trClass: '',
		                            children: tempChild
		                       	};
		                       	tBody.push(tempTr);
                    		})
                    	})
                   	})
      				
      				tableControl.initTbody('#stbc1 .loadTable', (tBody.length > 0 ? tBody : null), 0, null);
      			    //统计数据
      				var totalBody = [];
      				var totalChild = [
                        { tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:734px;">合计</span>', tdId: '', tdClass: 'diy-td-w734' },
                        { tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">' + sum + '</span>', tdId: '', tdClass: 'diy-td-w120' },
                        { tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:150px;">' + count + '</span>', tdId: '', tdClass: 'diy-td-w150' },
      				];
      				var totalTr = {
      				    trClass: '',
      				    children: totalChild
      				}
      				totalBody.push(totalTr);
      				tableControl.initTbody('#stfc1 .loadFoot', (totalBody.length > 0 ? totalBody : null), 0, null);
                    calcContainer();
      				return false;
      			}
      		}
			calcContainer();
			$('#stbc1 .loadList').append(
            	'<tr><td style="width:'+ ($('#sthc1 th:first').width() + 2) +'px;"><i class="fa fa-frown-o"></i></td>'+
            	'<td style="width:'+ ($('#sthc1 .loadTable').width() - $('#sthc1 th:first').width()) +'px;">无数据</td></tr>');
       	});
    }
    
    //加载表格2
    var page2 = 1;
    var loadList2 = function(){
    	pageControlBindEl.init('PLOnlyCode', 'GetPLOnlyCodeList', {
            CodeOrShop: tableType,
            Yearv: year,
            Monthv: month,
//          SeriesID: $('#serarch-series').val(),
//          MaterialProperty: $('#serarch-layer').val(),
//          ModelID: $('#serarch-category').val(),
//			ItemID: $('#search-subCategory').val(),
			ParentAreaID: $('#serarch-commodity').val(),
			ProID: $('#serarch-province').val(),
			CityID: $('#serarch-city').val(),
			Keys: $('#search-store').val(),
            Page: page2,
            Size: 100,
            BindEl: '#stpc2',
            needLayer: true,
            alwaysCallBack: function () {
                $('#stbc2 .loadList').empty();
            }
      	}, function (result) {
      		page2 = result.page;
      		var tBody = [];
      		if (!Y.checkNull(result.data)) {
      		    var sum = 0;
      		    var count = 0;
      			var rdi = result.data.Items;
      			if (rdi.length > 0) {
      				rdi.map(function (item, i) {
      					var line1 = 0;
      					var line2 = 0;
      					item.list.map(function(it,j){
                    		it.map(function(t,k){
                    			line1++;
                    		})
                   		})
      					
                    	item.list.map(function(it,j){
                    		it.map(function(t,k){
                    			line2++;
                    			var tempChild = [];
                    			if(j == 0 && k == 0)
                    				tempChild = [{tdText: '', c: 0, r: line1, tdHtml: '<span style="display:inline-block; width:250px;">'+ (t.ShopName || ' ') +'('+ item.count +')</span>', tdId: '', tdClass: 'diy-td-w250 border-bottom-bold' }];
                    			
                    			if(k == 0){
                    				tempChild.push({tdText: '', c: 0, r: it.length, tdHtml: '<span style="display:inline-block; width:120px;">'+ (t.SeriesName || ' ') +'</span>', tdId: '', tdClass: 'diy-td-w120' + (j == item.list.length - 1 ? ' border-bottom-bold' : '') });
						        	tempChild.push({tdText: '', c: 0, r: it.length, tdHtml: '<span style="display:inline-block; width:120px;">'+ (t.MaterialProperty || ' ') +'</span>', tdId: '', tdClass: 'diy-td-120' + (j == item.list.length - 1 ? ' border-bottom-bold' : '') });
						        	tempChild.push({tdText: '', c: 0, r: it.length, tdHtml: '<span style="display:inline-block; width:120px;">'+ (t.ModelName || ' ') +'</span>', tdId: '', tdClass: 'diy-td-w120' + (j == item.list.length - 1 ? ' border-bottom-bold' : '') });
						        	tempChild.push({tdText: '', c: 0, r: it.length, tdHtml: '<span style="display:inline-block; width:120px;">'+ (t.ItemName || ' ') +'</span>', tdId: '', tdClass: 'diy-td-w120' + (j == item.list.length - 1 ? ' border-bottom-bold' : '') });
                    			}
                    			tempChild.push({tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:250px;">'+ (t.OnlyCode || ' ') +'</span>', tdId: '', tdClass: 'diy-td-w250' + (line2 == line1 ? ' border-bottom-bold' : '')});
                    			tempChild.push({tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">'+ (t.DeepQty || ' ') +'</span>', tdId: '', tdClass: 'diy-td-w120' + (line2 == line1 ? ' border-bottom-bold' : '')});
					        	tempChild.push({tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:150px;">'+ (t.ChooseFlag == 1 ? 'Y' : ' ') +'</span>', tdId: '', tdClass: 'diy-td-w150' + (line2 == line1 ? ' border-bottom-bold' : '')});
					        	sum += t.DeepQty;
					        	count += (t.ChooseFlag == 1 ? 1 : 0);
					        	var tempTr = {
		                            trClass: '',
		                            children: tempChild
		                       	};
		                       	tBody.push(tempTr);
                    		})
                    	})
                  	})
      				
      				tableControl.initTbody('#stbc2 .loadTable', (tBody.length > 0 ? tBody : null), 0, null);
      			    //统计数据
      				var totalBody = [];
      				var totalChild = [
                        { tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:985px;">合计</span>', tdId: '', tdClass: 'diy-td-w985' },
                        { tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:120px;">' + sum + '</span>', tdId: '', tdClass: 'diy-td-w120' },
                        { tdText: '', c: 0, r: 0, tdHtml: '<span style="display:inline-block; width:150px;">' + count + '</span>', tdId: '', tdClass: 'diy-td-w150' },
      				];
      				var totalTr = {
      				    trClass: '',
      				    children: totalChild
      				}
      				totalBody.push(totalTr);
      				tableControl.initTbody('#stfc2 .loadFoot', (totalBody.length > 0 ? totalBody : null), 0, null);
                    calcContainer();
      				return false;
      			}
      		}
			calcContainer();
			$('#stbc2 .loadList').append(
            	'<tr><td style="width:'+ ($('#sthc2 th:first').width() + 2) +'px;"><i class="fa fa-frown-o"></i></td>'+
            	'<td style="width:'+ ($('#sthc2 .loadTable').width() - $('#sthc2 th:first').width()) +'px;">无数据</td></tr>');
       	});
    }
	
	//查询
	$('.btns-container').on('click','#btn-search',function(){
		if( $('#search-start').val() == ''){
			swal('请选择年月');
			return false;
		}
		var tempDate = $('#search-start').val().split('-');
		year = tempDate[0];
		month = tempDate[1];
		
		if(tableType == 0){
			page1 = 1;
			loadList1();
		}else if(tableType == 1){
			page2 = 1;
			loadList2();
		}
	});
	
	//下载
	$('.btns-container').on('click','#downloadBtn',function(){
		if( $('#search-start').val() == ''){
			swal('请选择年月');
			return false;
		}
		var tempDate = $('#search-start').val().split('-');
		
		var conditionsArr = [];
		conditionsArr.push({ column: "code.Yearv", value: tempDate[0], operator: "=", connector: "and" });
		conditionsArr.push({ column: "code.Monthv", value: tempDate[1], operator: "=", connector: "and" });
		
		if(tableType == 0){
			conditionsArr.push({ column: "code.SeriesID", value: $('#serarch-series').val(), operator: "=", connector: "and" });
			conditionsArr.push({ column: "code.MaterialProperty", value: $('#serarch-layer').val(), operator: "=", connector: "and" });
			conditionsArr.push({ column: "code.ModelID", value: $('#serarch-category').val(), operator: "=", connector: "and" });
			conditionsArr.push({ column: "code.ItemID", value: $('#search-subCategory').val(), operator: "=", connector: "and" });
			conditionsArr.push({ column: "other.", value: tableType, operator: "=", connector: "and" });
		}
			
		else if(tableType == 1){
			conditionsArr.push({ column: "code.ParentAreaID", value: $('#serarch-commodity').val(), operator: "=", connector: "and" });
			conditionsArr.push({ column: "area.ParentID", value: $('#serarch-province').val(), operator: "=", connector: "and" });
			conditionsArr.push({ column: "shop.AreaID", value: $('#serarch-city').val(), operator: "=", connector: "and" });
			conditionsArr.push({ column: "other.isShop", value: tableType, operator: "=", connector: "and" });
		}
		
		conditionsArr = JSON.stringify(conditionsArr);
		$.Export({
        	filetype: 'PLONLYCODE',
            filename: '企划唯一码报表',
            conditions: encodeURIComponent(conditionsArr),
            after: function () {
                //回调方法
                //loadList(1);
                swal("导出成功!");
            }
        });
	})
})
</script>
</asp:Content>

